<li {{if $liclass}} class="{{$liclass}}"{{/if}}>
	<div class="product-item">
		<div class="product-cover">
			<div class="text-center" style="width:100%;text-align:center;">
		{{$this->Html->image($item['coverimg'], 
			array(
			'alt' => $item['name'],'title' => $item['name'],
			'width'=>'150px','height'=>'130px', 'target'=>'_blank',
			'onerror'=>'this.src="'.Router::url('/img/products_nophoto.jpg').'";',
			'url'=> '/products/view/'.$item['slug'].'.html' 
			))}}
			</div>
		</div>
		<p class="product-title">
			{{$this->Html->link($item['name'],
			'/products/view/'.$item['slug'].'.html',
			array('title'=>$item['name'],'target'=>'_blank',))}}
		</p>
		<p class="product-price">￥{{$item['price']}}</p>
		<p class="text-center">
			<a href="javascript:void(0)" onclick="return addtoCart({{$item['id']}},1);" class="btn btn-primary btn-sm">加入购物车</a>
		</p>
	</div>
</li>